<div style="float: left; width: 250px;">
    <div style="float: left; width: 70px;">
        <img class="border" src="<?php echo $user->urlAvatar;?>"/>
    </div>
    <div>
        <h2 style="margin: 0;"><?php echo $user->name?></h2>
        <div style="margin: 2px 0px;"><?php echo Yii::t('fbuserModule.app', 'Join at')?> <?php echo MyDateTime::relative($user->created)?></div>
        <div><a target="_blank" href="<?php echo $user->website?>"><?php echo $user->website?></a></div>
    </div>
    <div style="clear: both;"></div>
</div>

<div style="float: right;">
    <table>
        <tr>
            <td><?php echo Yii::t('fbuserModule.app', 'Level')?></td>
            <td><?php echo Yii::t('fbuserModule.app', 'Points')?></td>
            <td><?php echo Yii::t('fbuserModule.app', 'Images')?></td>
            <td><?php echo Yii::t('fbuserModule.app', 'Likes')?></td>
            <td><?php echo Yii::t('fbuserModule.app', 'Comments')?></td>
            <td><?php echo Yii::t('fbuserModule.app', 'Views')?></td>
        </tr>
        <tr>
            <td><img src="<?php echo $user->urlLevel?>"></td>
            <td><?php echo $user->point_all?></td>
            <td><?php echo $user->userAll->image_count?></td>
            <td><?php echo $user->userAll->image_like?></td>
            <td><?php echo $user->userAll->image_comment?></td>
            <td><?php echo $user->userAll->image_view?></td>
        </tr>
    </table>
</div>
<div style="clear: both;"></div>


<br>
<div>
<?php echo Yii::t('fbuserModule.app', 'View images posted by {name}', array('{name}' => $user->name))?>
<br>
<a href="<?php echo $user->urlImage?>"><?php echo $user->urlImage?></a>
</div>


<br>
<br>
<br>
<h4><?php echo Yii::t('fbuserModule.app', 'Chat with')?> <?php echo $user->name;?></h4>
<fb:comments href="<?php echo $user->url;?>" num_posts="10" width="730"></fb:comments>

